package com.jdk8.impl;

import com.jdk8.bean.Book;
import com.jdk8.inter.CompareInter;

public class BookCompareImpl implements CompareInter<Book> {

	@Override
	public int compare(Book t0, Book t1) {
		return t0.getPrice()-t1.getPrice();
	}

}
